/*
* Copyright (c)  2017, ueboot.com
* All rights reserved.
* 2017-10-10 17:19:42
*/
package com.ueboot.weishop.repository.activity;

import com.ueboot.weishop.entity.activity.ActivityAttrEntity;
import com.ueboot.core.repository.BaseRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 *  Created by yangkui  on 2017-10-10 17:19:42.
 *
 * @since 2.0 by autocode
 */
@Repository
public interface ActivityAttrRepository extends BaseRepository<ActivityAttrEntity, Long> {

	List<ActivityAttrEntity> findBySn(String activitySn);

	ActivityAttrEntity findOneBySnAndKeyName(String sn, String keyName);
}
